package com.lesales.service.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.lesales.dao.interfaces.IFunctionDao;
import com.lesales.model.Function;
import com.lesales.service.interfaces.IFunctionService;

@Service
public class FunctionServiceImpl extends BaseServiceImpl<Function, Serializable> implements IFunctionService {

	@Autowired
	@Qualifier("functionDaoImpl")
	private IFunctionDao functionDao;

	@Override
	public List<Function> findFunctionById(int id) {
		// TODO Auto-generated method stub
		return functionDao.findFunctionById(id);
	}

}
